# Description: Bir çapraz platform Bütünleşik Geliştirme Ortamı (IDE).
# URL: http://www.codeblocks.org/
# Packager: milisarge
# Depends on: zip boost desktop-file-utils gamin gtk-update-icon-cache hicolor-icon-theme hunspell shared-mime-info wxgtk28

name=codeblocks
version=16.01
release=1
source=(http://sourceforge.net/projects/$name/files/Sources/16.01/codeblocks_${version}.tar.gz)

build () {
cd $name-*
export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
./bootstrap
./configure --prefix=/usr --with-contrib-plugins=all
make
make DESTDIR=$PKG install
}
